
import 'package:flutter/services.dart';
import 'package:share_plus/share_plus.dart';

extension StringExtend on String {

  copyValue() {
    Clipboard.setData(ClipboardData(text: this));
  }

  shareText([String? subject]){
    Share.share("$subject: \n$this");
  }

}